import Mock from 'mockjs';

let item = [{
		key: "/store/all",
		method: "get",
		param: {

		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA|1-4': [{
					"storeid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
					"sname": "@cword(6,9)",
					"sdz": "@csentence",
					"jd": "31.269689",
					"wd": "121.305338",
					"fm": "@image('200x200')",
					"sheng": "code",
					"shengmc": "黑龙江省",
					"shi": "code",
					"shimc": "哈尔滨市",
					"qu": "code",
					"qumc": "道里区",

				}]
			});
		}
	},
	{
		key: "/store/page",
		method: "get",
		param: {},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {
					'current': 0,
					'size': 10,
					'pages': 6,
					'total': 55,
					"records|12": [{
						"storeid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
						"sname": "@cword(6,15)",
						"cover": "https://bpic.588ku.com/back_origin_min_pic/19/10/22/17640edb9ae6ff9eb39d596e168da33c.jpg",
						"dzid": "123123",
						"dname": "@cname",
						"dzcover":"https://bpic.588ku.com/element_origin_min_pic/25/02/19/d8244106087c5e8d80fdbe3e602771a3.jpg",
						"pcode":"210000",
						"scode":"210200",
						"qcode":"210211",
						"pcriname": "@province",
						"scriname": "@city",
						"qcriname": "@county",
						"address":"@county(true)",
						
					}]
				}
			});
		}
	},
	{
		key: "/store/info",
		method: "get",
		prarm: {},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {
					"astore":{
						"storeid":"1001",
						"sname":"@cword(6,15)",
						"imgs":[
							"https://bpic.588ku.com//back_origin_min_pic/24/01/17/4caf52960ca8be1a0deaedf2e55a8150.jpg",
							"https://bpic.588ku.com//back_origin_min_pic/24/03/16/18b567275ab05d86dc9ebfd835dad346.jpg",
							"https://bpic.588ku.com//back_origin_min_pic/23/04/19/d09b8d9f8b5a931bd4c27d63fbf553cc.jpg",
						],
						"cover":"https://bpic.588ku.com/back_origin_min_pic/19/10/22/17640edb9ae6ff9eb39d596e168da33c.jpg",
						"dzid":"1234",
						"address":"辽宁省大连市甘井子区七贤岭街道30号",
						"pcode":"210000",
						"scode":"210200",
						"qcode":"210211",
						"yyzz":"https://bpic.588ku.com/templet_pic/22/09/26/d6704d11b9da085d5a84ceb352e646a7.jpg",
						"stu|1":["U","C","R","T","J"],
						"flg|1":[true,false],
						"key":"123456",
						"ly|1":[true,false],
						"kt|1":[true,false],
						"gys|1":[true,false],
						"cs|1":[true,false],
						"wifi|1":[true,false],
						"yys|1":[true,false],
						"bj|1":["1","2","3","4","5","k"],
					},
					"adz":{
						"dzid":"1234",
						"openid":"1234",
						"cover":"https://bpic.588ku.com/element_origin_min_pic/25/02/19/d8244106087c5e8d80fdbe3e602771a3.jpg",
						"dname":"@cname()",
						"tel|11": /[0-9]/,
						"yj":1995,
					},
					"amenjins":[
						{
							"mjid":"101",
							"flg|1":[true,false],
							"roomid":"",
							"modelNnumber":"F014",
							"uId":"dhrturitir6i",
							"uKey":"rhtrjryjrkr",
							"sn":"tdr6jkrykttjujr",
							"statu|1":[true,false],
							"dFlg|1":[true,false],
						
						},
						{
							"mjid":"102",
							"flg|1":[true,false],
							"roomid":"",
							"modelNnumber":"F014",
							"uId":"dhrturitir6i",
							"uKey":"rhtrjryjrkr",
							"sn":"tdr6jkrykttjujr",
							"statu|1":[true,false],
							"dFlg|1":[true,false],
						
						},
					],
					"arooms":[
						{
							"roomid":"1",
							"rname":"@cword(7,20)",
							"imgs":[
							"https://bpic.588ku.com//back_origin_min_pic/23/06/14/fb6d9a56da720d28a69c87d5d4e61251.jpg",
							"https://bpic.588ku.com//back_origin_min_pic/23/06/30/ab3ee5dbf0d073839bbdf7e946537ff5.jpg",
							"https://bpic.588ku.com//back_origin_min_pic/23/06/29/0fff8abba3fdcfa0a3c53eba705e1049.jpg",
						],
							"mj":30,
							"rnrs":10,
							"yjds":10,
							"cover":"https://bpic.588ku.com//back_origin_min_pic/23/06/14/f218b502fb9378ee0161e25c990d700f.jpg",
							"storeid":"1001",
						},
						{
							"roomid":"2",
							"rname":"@cword(7,20)",
							"imgs":[
							"https://bpic.588ku.com//back_origin_min_pic/23/06/14/fb6d9a56da720d28a69c87d5d4e61251.jpg",
							"https://bpic.588ku.com//back_origin_min_pic/23/06/30/ab3ee5dbf0d073839bbdf7e946537ff5.jpg",
							"https://bpic.588ku.com//back_origin_min_pic/23/06/29/0fff8abba3fdcfa0a3c53eba705e1049.jpg",
						],
							"mj":30,
							"rnrs":10,
							"yjds":10,
							"cover":"https://bpic.588ku.com//back_origin_min_pic/23/06/14/f218b502fb9378ee0161e25c990d700f.jpg",
							"storeid":"1001",
						},
						{
							"roomid":"3",
							"rname":"@cword(7,20)",
							"imgs":[
							"https://bpic.588ku.com//back_origin_min_pic/23/06/14/fb6d9a56da720d28a69c87d5d4e61251.jpg",
							"https://bpic.588ku.com//back_origin_min_pic/23/06/30/ab3ee5dbf0d073839bbdf7e946537ff5.jpg",
							"https://bpic.588ku.com//back_origin_min_pic/23/06/29/0fff8abba3fdcfa0a3c53eba705e1049.jpg",
						],
							"mj":30,
							"rnrs":10,
							"yjds":10,
							"cover":"https://bpic.588ku.com//back_origin_min_pic/23/06/14/f218b502fb9378ee0161e25c990d700f.jpg",
							"storeid":"1001",
						},
					],

					// astore: {
					// 	storeid: "123123",
					// 	sname: "@cword(7,30)",
					// 	"imgs": [
					// 		"https://bpic.588ku.com/back_origin_min_pic/23/04/19/654f0cfb5735e22726f67bba1ac02bb6.jpg",
					// 		"https://bpic.588ku.com/back_origin_min_pic/23/04/19/06edb4b5fd5c3d51ddb8d4c0f0af0361.jpg",
					// 		"https://bpic.588ku.com//back_origin_min_pic/23/04/18/d7c6d17fd43623327378b88415ac26d2.jpg",
					// 	],
					// 	"cover": "https://bpic.588ku.com//back_origin_min_pic/19/10/22/370dc8c27dabdb7bccccf80fa4cc9ca4.jpg",
					// 	"dzid": "123",
					// 	"address": "辽宁省大连市甘井子区@cword(100)",
					// 	"pcode": "110000",
					// 	"scode": "110100",
					// 	"qcode": "110101",
					// 	"yyzz": "https://bpic.588ku.com/templates/20210829/bg/f0b3054bb35e975dee4c010f1d71531c_85291.png",
					// 	"stu|1": ["U", "C", "R", "T", "J"],
					// 	"flg|1": [true, false],
					// 	"key": "123456",
					// 	"ly|1": [true, false],
					// 	"kt|1": [true, false],
					// 	"gys|1": [true, false],
					// 	"cs|1": [true, false],
					// 	"wifi|1": [true, false],
					// 	"yys|1": [true, false],
					// 	"bj|1": ["1", "2", "3", "4", "5", "k"],
					// },
					// "adz": {
					// 	"dzid": "123",
					// 	"openid": "11",
					// 	"cover": "https://bpic.588ku.com//back_origin_min_pic/23/04/19/01b0f50df525fb910efdd27811fdc01b.jpg",
					// 	"dname": "@cname()",
					// 	'tel|11': /[0-9]/,
					// 	"yj": 19900,
					// },
					// "amenjins": [{
					// 		"mjid": "1",
					// 		"flg|1": [true, false],
					// 		"roomid": "",
					// 		"modelNumber": "F014",
					// 		"uId": "11ddsa1a",
					// 		"uKey": "11ssa2sa",
					// 		"sn": "123asdfadsf",
					// 		"statu|1": [true, false],
					// 		"dFlg|1": [true, false],
					// 	},
					// 	{
					// 		"mjid": "2",
					// 		"flg|1": [true, false],
					// 		"roomid": "",
					// 		"modelNumber": "F014",
					// 		"uId": "11ddsa1a",
					// 		"uKey": "11ssa2sa",
					// 		"sn": "123asdfadsf",
					// 		"statu|1": [true, false],
					// 		"dFlg|1": [true, false],
					// 	},
					// ],
					// "arooms": [{
					// 	"roomid": "1",
					// 	"rname": "@cword(7,30)",
					// 	"imgs": [
					// 		"https://bpic.588ku.com//back_origin_min_pic/23/04/18/24eee4a3abbc28e2e3dec9e09bec8ac6.jpg",
					// 		"https://bpic.588ku.com//back_origin_min_pic/19/10/22/e18eda650877616a4827a8e60a12efb5.jpg",
					// 		"https://bpic.588ku.com//back_origin_min_pic/23/04/18/bc5f271a4348cd73d91b426ec7eb9d94.jpg",
					// 	],
					// 	"mj": 12,
					// 	"rnrs": 10,
					// 	"yjds": 5,
					// 	"cover": "https://bpic.588ku.com//back_origin_min_pic/24/01/13/f07c0ac433e7eb197d2a282dd184355b.jpg",
					// 	"storeid": "123",
					// },{
					// 	"roomid": "2",
					// 	"rname": "@cword(7,30)",
					// 	"imgs": [
					// 		"https://bpic.588ku.com//back_origin_min_pic/23/04/18/24eee4a3abbc28e2e3dec9e09bec8ac6.jpg",
					// 		"https://bpic.588ku.com//back_origin_min_pic/19/10/22/e18eda650877616a4827a8e60a12efb5.jpg",
					// 		"https://bpic.588ku.com//back_origin_min_pic/23/04/18/bc5f271a4348cd73d91b426ec7eb9d94.jpg",
					// 	],
					// 	"mj": 12,
					// 	"rnrs": 10,
					// 	"yjds": 5,
					// 	"cover": "https://bpic.588ku.com//back_origin_min_pic/24/01/13/f07c0ac433e7eb197d2a282dd184355b.jpg",
					// 	"storeid": "123",
					// },{
					// 	"roomid": "3",
					// 	"rname": "@cword(7,30)",
					// 	"imgs": [
					// 		"https://bpic.588ku.com//back_origin_min_pic/23/04/18/24eee4a3abbc28e2e3dec9e09bec8ac6.jpg",
					// 		"https://bpic.588ku.com//back_origin_min_pic/19/10/22/e18eda650877616a4827a8e60a12efb5.jpg",
					// 		"https://bpic.588ku.com//back_origin_min_pic/23/04/18/bc5f271a4348cd73d91b426ec7eb9d94.jpg",
					// 	],
					// 	"mj": 12,
					// 	"rnrs": 10,
					// 	"yjds": 5,
					// 	"cover": "https://bpic.588ku.com//back_origin_min_pic/24/01/13/f07c0ac433e7eb197d2a282dd184355b.jpg",
					// 	"storeid": "123",
					// },]


				}
			})
		}
	},

	{
		key: "/store/new",
		method: "post",
		param: {},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},

	{
		key: "/store/info",
		method: "post",
		param: {},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},
	{
		key: "/store/info",
		method: "put",
		param: {},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},
	{
		key: "/store/info",
		method: "delete",
		param: {
			empId: '',
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},

]
export default item;